package com.dc.business.datacollectbusiness.service;

import com.dc.business.datacollectbusiness.entity.WorkShop;

import java.util.List;

public interface WorkShopService {
    /**
     * 查询厂区下的车间
     */
    public List<WorkShop> getAllWorkShopsByFactoryId(Integer factoryId);

    /**
     * 删除车间
     */
    public boolean deleteWorkShopsById(int workShopId);
    /**
     * 添加车间
     */
    public boolean insertWorkShops(WorkShop workShop);
    /**
     * 修改车间
     */
    public boolean updateWorkShops(WorkShop workShop);
}
